package com.gitee.zhanyao.codebase.java.cloud.servera.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhanyao
 */
@FeignClient("zhanyao-serverb")
@RequestMapping("/hello")
public interface ServerBClient {

    @GetMapping("/sayHello")
    String sayHello();

}
